#ifndef CONFMSG_H
#define CONFMSG_H

#include <QWidget>
#include <QString>
#include <QList>
typedef struct msgField{
    QString m_strTagName;
    QString m_strRequestPath;
    QString m_strResponsePath;
    QString m_strValue;
    QString m_strRemark;
    msgField(const QString &tagName ="",
             const QString &strRequestPath ="",
             const QString &strResponsePath ="",
             const QString &strValue ="",
             const QString &strRemark =""
            ):m_strTagName(tagName),
        m_strRequestPath(strRequestPath),
        m_strResponsePath(strResponsePath),
        m_strValue(strValue),
        m_strRemark(strRemark)
    {}


}FieldGather;

typedef  QList<FieldGather> FieldGatherList;
namespace Ui {
class ConfMsg;
}

class ConfMsg : public QWidget
{
    Q_OBJECT

public:
    explicit ConfMsg(QWidget *parent = 0);
    ~ConfMsg();
    int fillBlankSpace(int arg1,int arg2);
    int CompareThreeNum(int arg1,int arg2,int m_arg3);

private slots:
    void on_buttonFile_clicked();

    void on_buttonTransform_clicked();

private:
    Ui::ConfMsg *ui;
    FieldGather m_Field;
    FieldGatherList m_FieldGatherList;
    int m_resNum;
    int m_resRemarkNum;
    int m_respNum;
    int m_respRemarkNum;
    int m_resTagLenMax;
    int m_respTagLenMax;
};

#endif // CONFMSG_H
